package Job01;

public class Student {
    private String name;
    private int XH;
    private String BJ;
    private char sex;
    private int age;
    private String love;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getXH() {
        return XH;
    }
    public void setXH(int XH) {
        this.XH = XH;
    }
    public String getBJ() {
        return BJ;
    }
    public void setBJ(String BJ) {
        this.BJ = BJ;
    }
    public char getSex() {
        return sex;
    }
    public void setSex(char sex) {
        this.sex = sex;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getLove() {
        return love;
    }
    public void setLove(String love) {
        this.love = love;
    }

    public Student(String name, int XH, String BJ, char sex, int age, String love) {
        this.name = name;
        this.XH = XH;
        this.BJ = BJ;
        this.sex = sex;
        this.age = age;
        this.love = love;
    }

    public Student() {

    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + this.name + '\'' +
                ", XH=" + this.XH +
                ", BJ='" + this.BJ + '\'' +
                ", sex=" + this.sex +
                ", age=" + this.age +
                ", love='" + this.love + '\'' +
                '}';
    }

}
